package com.code.day18JiHe.ArraysList;

import java.util.ArrayList;

public class Demo04 {
    public static void main(String[] args) {
        ArrayList<String> list = new ArrayList<>();
        list.add("小龙女");
        list.add("周伯通");
        list.add("杨过");
        for (String s:list){
            System.out.println(s);
        }
   System.out.println("===================");


        int[] arr = {1,2,3,4,5,6};
        for (int i:arr){
            System.out.println(i);
        }
    }
}
